package com.dongnam.quanly.common.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "NhomDoiTac")
public class NhomDoiTac extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "MaNhomDoiTac", length = 100)
	private String maNhomDoiTac;

	@Column(name = "TenNhomDoiTac", length = 200)
	private String tenNhomDoiTac;

	@Column(name = "ThuocNhomDoiTac", length = 100)
	private String thuocNhomDoiTac;

	@Column(name = "DienGiai", length = 200)
	private String dienGiai;

	@Column(name = "IsHasChild")
	private Boolean isHasChild;

	public NhomDoiTac() {
		// TODO Auto-generated constructor stub
	}

	public NhomDoiTac(String maNhomDoiTac) {
		super();
		this.maNhomDoiTac = maNhomDoiTac;
	}

	public String getMaNhomDoiTac() {
		return maNhomDoiTac;
	}

	public void setMaNhomDoiTac(String maNhomDoiTac) {
		this.maNhomDoiTac = maNhomDoiTac;
	}

	public String getTenNhomDoiTac() {
		return tenNhomDoiTac;
	}

	public void setTenNhomDoiTac(String tenNhomDoiTac) {
		this.tenNhomDoiTac = tenNhomDoiTac;
	}

	public String getThuocNhomDoiTac() {
		return thuocNhomDoiTac;
	}

	public void setThuocNhomDoiTac(String thuocNhomDoiTac) {
		this.thuocNhomDoiTac = thuocNhomDoiTac;
	}

	public String getDienGiai() {
		return dienGiai;
	}

	public void setDienGiai(String dienGiai) {
		this.dienGiai = dienGiai;
	}

	public Boolean getIsHasChild() {
		return isHasChild;
	}

	public void setIsHasChild(Boolean isHasChild) {
		this.isHasChild = isHasChild;
	}

}
